<template>
	<view class="">
		<map-Point @commitCheck="commitCheck" :mapKey='mapKey' :Radius='Radius'
			:showResetting='showResetting'></map-Point>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				mapKey: '4a4011d14cfd36a6ce404831009ecc8e',
				address: '',
				latitude: '',
				longitude: '',
				showResetting: true,
				Radius: '',
			};
		},
		onLoad() {},
		methods: {
			commitCheck(e) {
				console.log(e);
				uni.$emit('commitCheck', e);
				// uni.navigateBack({
				// 	delta: 1
				// });
			}
		}
	}
</script>